<template>
  <avue-crud
    :option="option"
    :data="data"
    v-model="form"
  >

  </avue-crud>
</template>
<script>
export default {
  name: "handlingProcess",
  props: {
    processData: {
      type: Array,
      default: () => []
    }
  },
  mounted() {
    this.processData.forEach(item => {
      item.handleTimelimit = item.handleTimelimit + '个工作日'
    })
    this.data = this.processData
  },
  data() {
    return {
      option: {
        header: false,
        index: true,
        indexLabel: '序号',
        refreshBtn: false,
        columnBtn: false,
        menu: false,
        column: [
          {
            label: '环节名称',
            prop: 'activityname',
          },
          {
            label: '办理时限',
            prop: 'handleTimelimit',
          },
          {
            label: '审批标准',
            prop: 'handlelinkExamine',
          },
          {
            label: '办理结果',
            prop: 'handleResult',
          },
        ]
      },
      data: [],
      form: {},
    }
  }
}
</script>
<style scoped>

</style>
